package com.heima.search.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dtos.HistorySearchDto;
import com.heima.model.search.dtos.UserSearchDto;

public interface UserSearchHistoryService {
    /**
     * 异步的保存搜索记录
     * @param dto
     * @param id
     */
    void insert(UserSearchDto dto, Integer id);

    ResponseResult load();


    ResponseResult del(HistorySearchDto dto);
}
